/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

html .light-theme,
html .vscode-light {
  /* custom values **/
  --scm-modified-foreground: #895503;
  --scm-added-foreground: #007100;
  --scm-removed-foreground: #ad0707;
  --scm-missing-foreground: #418c91;
  --selected-commit-background: rgba(0, 0, 0, 0.1);
  --tooltip-background: var(--vscode-editorWidget-background, #f3f3f3);
  --tooltip-border: var(--vscode-editorWidget-border, #c8c8c8);

  --error-fg-color: #e35941ff;
  --error-bg-color: #e3594120;

  --hover-darken: rgba(0, 0, 0, 0.1);
  --subtle-hover-darken: rgba(0, 0, 0, 0.03);
  --highlight-foreground: #2a2a2a;

  --selection-mix-mode: darken;

  /* github PR colors */
  --github-badge-fg: white;
  --github-open-bg: #2da44e;
  --github-closed-bg: #cf222e;
  --github-merged-bg: #8250df;
  --github-neutral-bg: #6e7781;

  /* Editor colors */
  --diffEditor-foreground: rgb(36, 41, 47);
  --diffEditor-insertedLineBackground: #5fff8433;
  --diffEditor-insertedLineHighlightBackground: #5fff8466;
  --diffEditor-removedLineBackground: #fa7e7c33;
  --diffEditor-removedLineHighlightBackground: #fa7e7c66;
  --diffEditor-modifiedLineBackground: #f9ec5633;
  --diffEditor-modifiedLineHighlightBackground: #f9ec5666;
  --editor-selectionBackground: #add6ff;
  --editor-changedBackground: hsla(211, 100%, 87%, 0.3);
  --editor-changedHighlightBackground: hsla(211, 100%, 87%, 0.5);

  --hint-background: rgba(241, 168, 23, 0.2);

  --banner-fg: rgb(36, 41, 47);
  --banner-warning-bg: #f9ec5666;
  --banner-error-bg: #fa7e7c66;
  --banner-default-bg: var(--tooltip-background);
  --banner-green-bg: #b0ddbd;

  --signal-good-bg: #2da44e;
  --signal-medium-bg: #d5b14e;
  --signal-bad-bg: #cf222e;
  --signal-fg: white;

  --checkbox-border: var(--vscode-contrastBorder, rgba(0, 0, 0, 0.2));
}
